name_fmt = "src/main/res/drawable/up_down_up%d_f%d.xml"
colors = ["#26b8d7", "#35d726", "#ea1b16"]
for i in range(1, 6):
    src_name = name_fmt % (1, i)
    print("src_name", src_name)
    for j in range(2, 4):
        dest_name = name_fmt % (j, i)
        print("dest", dest_name)
        with open(src_name, "r") as f:
            with open(dest_name, "w") as f2:
                for line in f:
                    f2.write(line.replace("#26b8d7", colors[j-1]))
